/*
    Copyright (c) 2012 Denis Mingulov.

    This file is part of Drop Cache.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef DROPCACHEWIDGETSTYLE_H
#define DROPCACHEWIDGETSTYLE_H

#include <meegotouch/MWidgetStyle>

class DropCacheWidgetStyle : public MWidgetStyle
{
    Q_OBJECT
    M_STYLE(DropCacheWidgetStyle)

    M_STYLE_ATTRIBUTE(QString, titleContainerStyleName, TitleContainerStyleName)
    M_STYLE_ATTRIBUTE(QString, titleHeaderStyleName, TitleHeaderStyleName)
    M_STYLE_ATTRIBUTE(QString, titleInfoIconStyleName, TitleInfoIconStyleName)
    M_STYLE_ATTRIBUTE(QString, titleInfoIcon, TitleInfoIcon)

    M_STYLE_ATTRIBUTE(QString, containerStyleName, ContainerStyleName)

    M_STYLE_ATTRIBUTE(QString, usualDescriptionLabelStyleName, UsualDescriptionLabelStyleName)

    M_STYLE_ATTRIBUTE(QString, smallSpacerStyleName, SmallSpacerStyleName)

    M_STYLE_ATTRIBUTE(QString, usualSpacerStyleName, UsualSpacerStyleName)

    M_STYLE_ATTRIBUTE(QString, usualCenterButtonStyleName, UsualCenterButtonStyleName)
    M_STYLE_ATTRIBUTE(QString, usualRightButtonStyleName, UsualRightButtonStyleName)
    M_STYLE_ATTRIBUTE(QString, usualLeftButtonStyleName, UsualLeftButtonStyleName)

    M_STYLE_ATTRIBUTE(QString, accentedCenterButtonStyleName, AccentedCenterButtonStyleName)

    M_STYLE_ATTRIBUTE(QString, usualButtonsPanelStyleName, UsualButtonsPanelStyleName)

    M_STYLE_ATTRIBUTE(QString, infoMemoryProgressBarStyleName, InfoMemoryProgressBarStyleName)
    M_STYLE_ATTRIBUTE(QString, infoSwapProgressBarStyleName, InfoSwapProgressBarStyleName)

    M_STYLE_ATTRIBUTE(QString, infoMemoryLabelStyleName, InfoMemoryLabelStyleName)
    M_STYLE_ATTRIBUTE(QString, infoSwapLabelStyleName, InfoSwapLabelStyleName)

    M_STYLE_ATTRIBUTE(bool, showSyncAndFreeButton, ShowSyncAndFreeButton)
    M_STYLE_ATTRIBUTE(bool, showSyncDoneBanner, ShowSyncDoneBanner)
    M_STYLE_ATTRIBUTE(bool, autoRefreshInfoOnDisplayEnterEvent, AutoRefreshInfoOnDisplayEnterEvent)
};

class DropCacheWidgetStyleContainer : public MWidgetStyleContainer
{
    M_STYLE_CONTAINER(DropCacheWidgetStyle)
};

#endif // DROPCACHEWIDGETSTYLE_H
